package com.m8n6.demo2.mapper.admin;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.m8n6.demo2.entity.FocusEntity;
import com.m8n6.demo2.entity.GoodsEntity;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GoodsMapper extends BaseMapper<GoodsEntity> {
    IPage<GoodsEntity> iPageGoods(IPage<GoodsEntity> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<GoodsEntity> lambdaQueryWrapper);
     // IPage<GoodsEntity> iPageMyFocusGoods(IPage<GoodsEntity> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<GoodsEntity> lambdaQueryWrapper);
    IPage<GoodsEntity> iPageMyFocusGoods(IPage<GoodsEntity> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<FocusEntity> wrapper);

}
